home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC]
/
NeXTSTEP 3.3 Dev Intel.iso
/
NextDeveloper
/
Headers
/
appkit
/
NXCursor.h
< prev
next >
Wrap
Text File
|
1992-09-11
|
1KB
|
63 lines
/*
NXCursor.h
Application Kit, Release 2.0
Copyright (c) 1988, 1989, 1990, NeXT, Inc. All rights reserved.
*/
#import <objc/Object.h>
#import "NXImage.h"
/* AppKit Cursors */
#define NXarrow NXArrow
#define NXiBeam NXIBeam
extern id NXArrow; /* Arrow cursor */
extern id NXIBeam; /* Text cursor */
@interface NXCursor : Object
{
NXPoint hotSpot;
struct _csrFlags {
#ifdef __BIG_ENDIAN__
unsigned int onMouseExited:1;
unsigned int onMouseEntered:1;
unsigned int _RESERVED:14;
#else
unsigned int _RESERVED:14;
unsigned int onMouseEntered:1;
unsigned int onMouseExited:1;
#endif
} cFlags;
id image;
unsigned int _reservedInt;
}
+ pop;
+ currentCursor;
- init;
- initFromImage:newImage;
- image;
- setImage:newImage;
- setHotSpot:(const NXPoint *)spot;
- push;
- pop;
- set;
- setOnMouseExited:(BOOL)flag;
- setOnMouseEntered:(BOOL)flag;
- mouseEntered:(NXEvent *)theEvent;
- mouseExited:(NXEvent *)theEvent;
- read:(NXTypedStream *)stream;
- write:(NXTypedStream *)stream;
/*
* The following new... methods are now obsolete. They remain in this
* interface file for backward compatibility only. Use Object's alloc method
* and the init... methods defined in this class instead.
*/
+ newFromImage:newImage;
@end